<script type="text/javascript" src="/scripts/dropdown.js"></script>
<header id="header">
<div id="TopRow">
<div id="InLogo"><a href="/expressions/index/inbox/1"><img src="/images/InLogo.gif" alt="EmotionsMirror" border="0" title="EmotionsMirror" /></a></div>
<div class="Title"><img src="/images/headerTitle.png"/></div>
<div id="Tmenu">
<ul>
<?php if(isset($_SESSION["sess_photo"])!="")
	 {
		$profile_pic=$_SESSION["sess_photo"];
	 }
	 else
	 {
		$profile_pic="ListUserImg.jpg";
	 }
	?>
<li><a href="/profile/index/profile"><img src="/Uploads/users/thumbs/<?php echo $profile_pic; ?>" height="40px" width="40px" class="ProfPic" alt="<?php echo $_SESSION['sess_username']; ?>" border="0" title="<?php echo $_SESSION['sess_username']; ?>" align="absmiddle" />Welcome <?php echo $_SESSION['sess_username']; ?></a></li>
<li><a href="#" id="sample_attach_menu_parent" class="sample_attach" style="border:none;">Settings&nbsp;<img src="/images/SettingsArow.png" border="0" align="absmiddle" /></a></li>
<li style="border:0;"><a href="/expressions/index/logout">Logout</a></li>
</ul>
<div id="sample_attach_menu_child">
<a class="sample_attach" href="/home/index/change-password/<?php echo base64_encode($_SESSION['sess_userid']); ?>">Change Password</a>
<a class="sample_attach" href="#">Refer a Friend</a>
<a class="sample_attach" href="#">Feedback</a>
<a class="sample_attach" href="#">Help Center</a>
</div>
<script type="text/javascript">
at_attach("sample_attach_menu_parent", "sample_attach_menu_child", "hover", "y", "pointer");
</script>
</div>
</div>
<div id="MainMenubar">
<ul id="MainMenu">
<li><a href="#" class="home">Home</a></li>
<li><a href="#" class="active">Personal Mirror</a></li>
<li><a href="#">Membership Mirror</a></li>
<li><a href="#">Web Mirror</a></li>
</ul>
<ul id="RightBlMenu">
<li><a href="/contacts">Contacts</a></li>
<li><a href="#">Customize</a></li>
</ul>
<div class="Fright wid250"><input type="text"  class="MainSearch" /><a href="#"><img src="/images/MainSearchIcon.png" border="0" align="top" class="MainSearchIcon" /></a></div>
</div>
<div>
<ul id="MnSubMenu">
<?php 
if(MODULE_NAME=="expressions")
{
	$active1="active";
}
else if(MODULE_NAME=="triggers")
{
	$active2="active";
} 
else if(MODULE_NAME=="memories")
{
	$active3="active";
} 
else if(MODULE_NAME=="journals")
{
	$active4="active";
} 
else if(MODULE_NAME=="album")
{
	$active5="active";
} 
else if(MODULE_NAME=="tasks")
{
	$active6="active";
}
else
{
	$active7="active";
} 
 

?>
<li><a href="/expressions/index/inbox/1" class="<?php echo $active1; ?>">Messages</a></li>
<li><a href="/triggers/index/triggers-personal" class="<?php echo $active2; ?>">Triggers</a></li>
<li><a href="/journals/index/journals" class="<?php echo $active4; ?>">Journals</a></li>
<li><a href="/album/index/all" class="<?php echo $active5; ?>">Photos</a></li>
<li style="border:none"><a href="/tasks/index/task-list/1" class="<?php echo $active6; ?>">Tasks</a></li>

</ul>
</div>
</header>